package cn.hg.jbsa.admin.controller.system.validator;

import com.jfinal.core.Controller;

import cn.hg.jboot.core.validator.BaseValidator;

/**
 * @author 胡高
 * @date 2022/02/15
 */
public class JbsaOrgRoleValidator extends BaseValidator {

    @Override
    protected void handleError(Controller c) {
    }

    @Override
    protected void validate(Controller c) {
        this.validateRequired("bean.orgId", "statusMsg", "必须关联部门！");
        this.validateRequired("bean.roleIds", "statusMsg", "必须关联角色！");
    }

}
